#ifndef BTFORM_H
#define BTFORM_H

#include <QWidget>
#include <QString>
namespace Ui {
class btform;
}

class btform : public QWidget
{
    Q_OBJECT

public:
    explicit btform(QWidget *parent = nullptr);
    ~btform();
    void setIconAndText(const QString & btIcon,const QString &btText,int id);
    void mousePressEvent(QMouseEvent *event) ;
   signals:
    void  btclick(int id);
private:
    Ui::btform *ui;
    int  page_id;
};

#endif // BTFORM_H
